<template>
    <popup></popup>
    <hr>
    <popup>
        <h1>主要内容 <button>测试</button></h1>
    </popup>
</template>

<script>
import { reactive, toRefs } from 'vue'
import popup from './Popup.vue'

export default {
    components:{
        popup
    },
    setup () {
        const state = reactive({
            count: 0
        })
    
        return {
            ...toRefs(state)
        }
    }
}
</script>
